package com.wf.service;

import com.wf.domain.SysPermission;
import com.wf.domain.SysRole;
import com.wf.domain.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wf.dto.LoginDTO;
import com.wf.dto.PageDTO;
import com.wf.dto.UserPageDTO;
import com.wf.vo.AdminVO;

import java.util.List;
import java.util.Map;

/**
* @author mpk16
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2024-10-02 09:54:27
*/
public interface SysUserService extends IService<SysUser> {

    Map<String, Object> login(LoginDTO loginDTO);

    List<SysRole> role(String userId);

    List<SysPermission> permission(String roleId);

    List<SysUser> getUserList(UserPageDTO userPageDTO);

    List<AdminVO> getAdminList(PageDTO pageDTO);
}
